import request from '@/utils/request'

// 获取预约设置内容
export function ReservationDetail(data) {
  return request({
    url: '/SchedSystem/ReservationDetail',
    method: 'post',
    data
  })
}
// 设置预约设置内容
export function ReservationEdit(data) {
  return request({
    url: '/SchedSystem/ReservationEdit',
    method: 'post',
    data
  })
}
// 通用设置获取
export function GeneralDetail(data) {
  return request({
    url: '/SchedSystem/GeneralDetail',
    method: 'post',
    data
  })
}
// 修改通用设置
export function GeneralEdit(data) {
  return request({
    url: '/SchedSystem/GeneralEdit',
    method: 'post',
    data
  })
}

// 渠道列表(所有)
export function getLists(data) {
  return request({
    url: '/SchedChannel/lists',
    method: 'post',
    data
  })
}

export function addEdit(data) {
  return request({
    url: '/SchedChannel/AddEdit', // 创建、编辑渠道
    method: 'post',
    data
  })
}

// 删除渠道
export function getDel(data) {
  return request({
    url: '/SchedChannel/Del',
    method: 'post',
    data
  })
}

// 系统渠道
export function getSyslists(data) {
  return request({
    url: '/SchedChannel/syslists',
    method: 'post',
    data
  })
}

// 日志搜索
export function getOperlog(data) {
  return request({
    url: '/SchedOperlog/lists',
    method: 'post',
    data
  })
}

// 业务模块
export function getFiclist(data) {
  return request({
    url: '/SchedOperlog/ficlist',
    method: 'post',
    data
  })
}

// 员工列表
export function getPeopleList(data) {
  return request({
    url: '/SchedOperlog/stafflist',
    method: 'post',
    data
  })
}

// 功能设置
export function featuresSetting(data) {
  return request({
    url: '/SchedSystem/featuresSetting',
    method: 'post',
    data
  })
}
// 功能设置
export function courseType(data) {
  return request({
    url: '/SchedSystem/courseType',
    method: 'post',
    data
  })
}
